﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace MDCAdminTool.Reports
{

    public partial class HeaderChart : UserControl
    {
        #region DP Title
        public static readonly DependencyProperty TitleProperty = 
            DependencyProperty.Register(
               "Title" ,
               typeof( string ) ,
               typeof( HeaderChart ) ,
               new FrameworkPropertyMetadata( "Chart" , 
                    FrameworkPropertyMetadataOptions.BindsTwoWayByDefault |
                    FrameworkPropertyMetadataOptions.AffectsRender));

        public string Title
        {
            get { return (string)GetValue( TitleProperty ); }
            set { SetValue( TitleProperty , value ); }
        }

        

        #endregion

        public HeaderChart()
        {
            InitializeComponent();
            this.DataContext = this;
        }
    }
}
